/*
* MInput
*/
.M-input-wrapper{
  width: 100px;
  .M-input-lg{
    padding: 6px 7px;
    height: 30px;
  }
  .M-input-sm {
    padding: 1px 7px;
    height: 22px;
    border-radius: 4px;
  }
}
.M-input {
  position: relative;
  display: inline-block;
  padding: 4px 7px;
  width: 100%;
  height: 28px;
  cursor: text;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  background-color: #fff;
  background-image: none;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  transition: border .2s cubic-bezier(.645,.045,.355,1),background .2s cubic-bezier(.645,.045,.355,1),box-shadow .2s cubic-bezier(.645,.045,.355,1);
  &:focus,&:hover {
    outline: none;
    border-color: #57c5f7;
  }
  &:focus{
    @include showbackgroundColor(#fff);
    @include showborderColor(#57c5f7);
    box-shadow:0 0 $baseSize*0.5 #57c5f7;
  }
  &::-moz-placeholder{
    color: rgba(0,0,0,.25);
    opacity: 1
  }
  &:-ms-input-placeholder{
    color: rgba(0,0,0,.25)
  }
  &::-webkit-input-placeholder{
    color: rgba(0,0,0,.25)
  }
}